package action.custom;

import java.util.List;

import service.custom.CompanyPledgerService;
import core.action.BaseAction;

public class ListCompanyPledgerAction extends BaseAction{
	private CompanyPledgerService cPledgerService;
	private List<?> cpledgerlist;
	public CompanyPledgerService getcPledgerService() {
		return cPledgerService;
	}

	public void setcPledgerService(CompanyPledgerService cPledgerService) {
		this.cPledgerService = cPledgerService;
	}

	
	public List getCpledgerlist() {
		return cpledgerlist;
	}

	public void setCpledgerlist(List cpledgerlist) {
		this.cpledgerlist = cpledgerlist;
	}

	public String getCompanyPledgerList(){
		cpledgerlist=cPledgerService.getCompanyPledgerList();
		System.out.println("inherePledger");
		return "success";
	}
	
	public String execute(){
		return "success";
	}

}
